# from fastapi_dramatiq.actors.task import count_words
# from loguru import logger

from tasks.actors.task import count_words


if __name__ == "__main__":
    # Send a message using the actor
    test_url = "https://www.baidu.com"
    print(test_url)
    count_words.send(url=test_url)
    # logger.info(f"Sent message: {test_url}")
